﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WanMeiModel
{
    public class HeroModel
    {
    }

    /// <summary>
    /// 用户角色装备模型，背包装备模型
    /// </summary>
    public class HeroEquipmentItem
    {
        /// <summary>
        /// 背包信息ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 道具类型
        /// </summary>
        public int PropType { get; set; }
        /// <summary>
        /// 装备ID
        /// </summary>
        public int PropId { get; set; }
        /// <summary>
        /// 售价
        /// </summary>
        public int SalePrice { get; set; }
        /// <summary>
        /// 强化等级
        /// </summary>
        public int EquipmentLevel { get; set; }
        /// <summary>
        /// 装备位置1头，2衣服，3武器，4护腕，5鞋，6戒指,7项链
        /// </summary>
        public int Place { get; set; }
        /// <summary>
        /// 装备名称
        /// </summary>
        public string EquipmentName { get; set; }
        /// <summary>
        /// 介绍
        /// </summary>
        public string Introduce { get; set; }
        /// <summary>
        /// 护甲增益
        /// </summary>
        public int InitArmor { get; set; }
        /// <summary>
        /// 暴击增益
        /// </summary>
        public int InitCriticalValue { get; set; }
        /// <summary>
        /// 血量增益
        /// </summary>
        public int InitHealthPoint { get; set; }
        /// <summary>
        ///魔力增益
        /// </summary>
        public int InitMagicPower { get; set; }
        /// <summary>
        /// 需要等级
        /// </summary>
        public int NeedGameLevel { get; set; }
        /// <summary>
        /// 图标
        /// </summary>
        public string ImgPath { get; set; }
        /// <summary>
        /// 攻击力收益
        /// </summary>
        public int ApValue { get; set; }

        public int Power
        {
            get
            {
                return this.ApValue + this.InitHealthPoint + this.InitMagicPower + this.InitArmor + this.InitCriticalValue;
            }
        }
        /// <summary>
        /// 品质1白色，2绿色，3蓝色，4紫色，5橙色，6粉色
        /// </summary>
        public int Quality { get; set; }
        /// <summary>
        /// 需要职业0不限制，1剑士，2魔法师
        /// </summary>
        public int NeedRole { get; set; }
        /// <summary>
        /// 出售金额
        /// </summary>
        public int Money { get; set; }
    }

    
}
